package com.baidu.uidgenerator.mapper;

import com.baidu.uidgenerator.domain.entity.WorkNode;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WorkNodeMapper extends IService<WorkNode> {
 
	public WorkNode getWorkerNodeByHostPort(@Param("host") String host, @Param("port") String port);
 
	public void addWorkerNode(WorkNode workNode);
}
